﻿module fitbit {
    'use strict';

    interface IDashboard {
        fullName: string
    }

    class DashboardController implements IDashboard {
        fullName: string;

        static $inject = ['FitbitService'];
        constructor(fitbitService: IFitbitService) {
            var vm = this;
            vm.fullName = 'Sagar Shelar';
            return;
            fitbitService.getLastYearFat()
                .then((lastYearInfo: IFitbiLastYearFatInfo): void => {
                console.log('Last Year Info ', lastYearInfo);
            });
        }
    }

    angular
        .module('fitbitApp')
        .controller('Dashboard', DashboardController);
}